package com.itheima.leyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.leyou.po.SpecGroup;
import com.leyou.item.dto.SpecGroupDTO;
import com.leyou.item.dto.SpecParamDTO;

import java.util.List;

public interface SpecGroupService extends IService<SpecGroup> {
    List<SpecGroupDTO> querySpecGroupByCategory(Integer id);


    void addGroup(SpecGroupDTO groupDTO);

    void updateGroup(SpecGroupDTO groupDTO);

    List<SpecGroupDTO> listSpecGroup(Long categoryId);
}
